package com.cloud.monitor.sys.mapper;

import com.cloud.monitor.sys.entity.nodelayer.*;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * @author wurj
 * @time 2020/3/10 22:38
 * @description
 */
public interface NodeDataGetMapper {
    @Select("select * from cpuusage")
    List<CPU> getCPUUsage();

    @Select("select * from memoryusage")
    List<Memory> getMemoryUsage();

    @Select("select * from diskusage")
    List<Disk> getDiskUsage();

    @Select("select * from iopsvalue")
    List<IOPS> getIOPSValue();

    @Select("select * from networkvalue")
    List<Network> getNetworkValue();

    @Select("select * from qosvalue")
    List<Qos> getQosvalue();
}
